package com.peanut.baby.http;

import com.google.gson.annotations.SerializedName;

/**
 * Created by anonymouslystudio on 2017/7/21.
 */

public class HttpStatus {
    @SerializedName("code")
    public String code;
    @SerializedName("error")
    public String error;


    public boolean isCodeInvalid() {
        return !code.equals("0");
    }


}
